﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Koonsoft.HYCRM.BLL;

public partial class Profile_MyConsultation : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        MyLoginName.Value = User.Identity.Name;
    }


    protected void Consultation_RowCommand(object sender, GridViewCommandEventArgs e)
    {
        if (e.CommandName == "RemoveConsultation")
        {
            new ConsultationBLL().RemoveConsultation(Convert.ToInt32(e.CommandArgument));
        }

        GridView1.DataBind();
    }


}